﻿<%@ Page Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="AddCommittee.aspx.cs" Inherits="WebApplication1.AddCommittee" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <br />

    <br />
    <table>
    <tr>
    <td></td>
    <td></td>
    <asp:Label ID="lblAddCommitteeMsg" runat="server" Font-Bold="True" 
            Font-Names="Arial" Font-Size="Larger" ForeColor="Red" ></asp:Label>
    <td></td>
    </tr>
    
    <tr>
    <td>
    </td>
    <td>
    <asp:Label ID="Label8" runat="server" Text="Start Date"></asp:Label>
    </td>
    <td>
        <asp:TextBox ID="txtCommitteeStartDate" runat="server" style="margin-left: 7px"></asp:TextBox>
        <asp:CompareValidator ID="cvAddCommitteeStart" runat="server" 
            ControlToValidate="txtCommitteeStartDate" 
            ErrorMessage="Entered data is not in the expected format.Please follow 'mm/dd/yyyy' format" 
            ondatabinding="btnCommitteeSubmit_Click" Operator="DataTypeCheck" 
            Type="Date"></asp:CompareValidator>
    </td>
    </tr>
    <tr>
    <td>
    </td>
    <td>
    <asp:Label ID="Label9" runat="server" Text="End Date"></asp:Label>
    </td>
    <td>
        <asp:TextBox ID="txtCommitteeEndDate" runat="server" style="margin-left: 6px"></asp:TextBox>
        <asp:CompareValidator ID="cvAddCommitteeStop" runat="server" 
            ControlToValidate="txtCommitteeEndDate" 
            ErrorMessage="Entered data is not in the expected format.Please follow 'mm/dd/yyyy' format" 
            ondatabinding="btnCommitteeSubmit_Click" Operator="DataTypeCheck" 
            Type="Date"></asp:CompareValidator>
    </td>
    </tr>
    <tr>
    <td>
    </td>
    <td>
    <asp:Label ID="Label7" runat="server" Text="Description"></asp:Label>
    </td>
    <td>
    <asp:TextBox ID="txtCommitteeDescription" runat="server" style="margin-left: 6px" 
    TextMode="MultiLine" Width="368px" Height="74px"></asp:TextBox>
    </td>
    </tr>
    <tr>
    <td>
    </td>
    <td>
        <asp:Label ID="Label10" runat="server" Text="Committee Photo"></asp:Label>
    </td>
    <td>
        <asp:FileUpload ID="fuAddCommitteePhoto" runat="server" />
    </td>
    </tr>
    
    <tr>
    <td>
    </td>
    <td>
       <asp:Button ID="btnCommitteeSubmit" runat="server" style="margin-left: 86px" 
    Text="Submit" onclick="btnCommitteeSubmit_Click" />
    </td>
    <td>
    <asp:Button ID="btnCommitteeCancel" runat="server" style="margin-left: 77px" 
    Text="Cancel" />
    </td>
    </tr>
    </table>
   </asp:Content>
